# include<iostream>

  using namespace std;
  int main()
  {
      string palabra;
      cin>>palabra;
      cout<<palabra.length();
      return 1 ;
  }

